package com.yuqiangz.springsecurity.service;

import com.yuqiangz.springsecurity.domain.ResponseResult;
import com.yuqiangz.springsecurity.domain.User;

import java.util.Map;

/**
 * @author zhaoyuqiang
 * @create 2024/5/22 7:05
 * @description
 */
public interface LoginService {

    ResponseResult<Map<String, String>> login(User user);

    ResponseResult<String> logout();
}
